<div class="help_right">
	<div class="folder" >
        <div class="folder-title-new00" >
            <div class="square00"></div>
            <div style="margin-top: 7px;float: left"><a>[DANH MỤC HỎI ĐÁP]</a></div>
        </div>
    <div class="folder-body00" style="height:210px">
        <div class="leftnews_line" style="width: 250px">
			<ul >
            <?php
					$rs = get_all_cat_faq();
					  
					while($cat_faq=$db->fetch_array($rs)){
						
						$class = "";
						if($cat_faq["cat_name_link"]==$param[1]||$cat_faq["cat_name_link"]==$cat_in_detail["cat_name_link"]){
							
							$class = "class='cr_hd2'";
							
						}
						
						echo "<li><a ".$class." href='".get_link('faq','cat',$cat_faq["cat_name_link"])."' title='".htmlentities_utf8($cat_faq["cat_name"])."'>".$cat_faq["cat_name"]."</a></li>";
					
					}
			?>

			</ul>
		</div>
    </div>
      <div class="folder-bottom00">
            <div class="square-bottom00"></div>
        </div>

    </div>
<?php  $rsAdv = getAdvClient('faq', 'right', 5);

 if($db->num_rows($rsAdv)>0){
        ?>
    <div class="folder" >
        <div class="folder-title-new00" >
            <div class="square00"></div>
            <div style="margin-top: 7px;float: left;color: #000">[Quảng cáo]</div>
        </div>
        <div class="folder-body00" >
            <?php
            while ($row = $db->fetch_array($rsAdv)) {
                ?>
            <div style="margin-bottom: 2px;">
                <a href="<?php echo $row['link'];?>"><img alt="" src="<?php echo $row['filename'];?>" width="286px;" /></a>
            </div>
            <?php }?>
        </div>
        <div class="folder-bottom00">
            <div class="square-bottom00"></div>
        </div>
    </div>
<?php } ?>

   

</div>